/*
 * create by lixy 20150323
 * Just for DMap(tuteng) Project
 * copyright@ 2021
 */
"use strict";

var app = angular.module('manager.pad',['ngRoute'], function($locationProvider) {
    $locationProvider.html5Mode(true);
});

app.config(['$routeProvider', function ($routeProvider) {
    $routeProvider
        .when('/user_add', {
            templateUrl: 'page/user_add.html',
            controller: 'userAddController'
        })
        .when('/login', {
            templateUrl: 'page/login.html',
            controller: 'loginController'
        })
        .otherwise({
            redirectTo: '/user_add'
        });
}]);
/* Controllers */
app.controller('index',  ['$scope', '$location', 'indexService', function ($scope, $location, indexService) {

}]);
/* Services */
app.service('indexService',['ajaxService', function (ajaxService) {

}]);




